projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8711f
)
Fix pointer event tracking on top of Haiku scroll bars
author
Po Lu
<luangruo@yahoo.com>
Sun, 13 Mar 2022 12:53:01 +0000
(12:53 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 13 Mar 2022 12:57:56 +0000
(12:57 +0000)
* src/haiku_support.cc (MouseDown): Set correct mouse event mask
in case the scroll bar widget decides to not do that.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index a14600cb33884141ac0cc087f017b4ab768df463..9c9aa7f35bf51dfccf2340e17091446d3cc7aead 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-1817,6
+1817,9
@@
public:
rq.window = Window ();
rq.scroll_bar = this;
+ SetMouseEventMask (B_POINTER_EVENTS, (B_SUSPEND_VIEW_FOCUS
+ | B_LOCK_WINDOW_FOCUS));
+
haiku_write (SCROLL_BAR_DRAG_EVENT, &rq);
out: